﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace TimeQuest.Base
{
    public class InvisibleWall : GameObject
    {
        #region Properties

        private Rectangle _base;
        public override Rectangle BaseRectangle
        {
            get
            {
                return _base;
            }
        }

        #endregion

        public void SetBaseRectangle(Rectangle r)
        {
            _base = r;
        }
        public override void Draw(SpriteBatch sb)
        {
            if (GameWorld.ShowBlockingRectangles)
            {
                sb.Draw(ContentHandler.GetTexture(1), _base,
                    new Rectangle(0, 0, 1, 1), new Color(Color.White, .5f));
            }
        }
    }
}
